package com.kkd.service;

import com.sun.xml.internal.ws.encoding.TagInfoset;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;

/**
 * @author 14587
 * @date 2021/1/15 21:38
 */
@DubboService//可以被扫描到注册中心zookeeper
@Component
public class TicketServiceImpl implements TicketService {
    @Override
    public String getTicket() {
        return "get a ticket";
    }
}
